 
<script language="Javascript" type="text/javascript">
	//
	// Should really check the browser to stop this whining ...
	//
	function select_switch(status)
	{
		for (i = 0; i < document.privmsg_list.length; i++)
		{
			document.privmsg_list.elements[i].checked = status;
		}
	}
</script>

<table border="0" cellspacing="0" cellpadding="7" align="center" width="100%">
  <tr>
    <td width="100%" colspan="2">
	
	<form method="post" name="privmsg_list" action="{S_PRIVMSGS_ACTION}">
	  <table width="100%" cellspacing="2" cellpadding="2" border="0" align="center">
		<tr> 
		  <td align="left" valign="middle">{POST_PM_IMG}</td>
		  <td align="left" width="100%">&nbsp;<span class="nav"><a href="{U_INDEX}" class="nav">{L_INDEX}</a></span></td>
		  <td align="right" nowrap="nowrap"><span class="gensmall">{L_DISPLAY_MESSAGES}: 
			<select name="msgdays">{S_SELECT_MSG_DAYS}
			</select>
			<input type="submit" value="{L_GO}" name="submit_msgdays" class="liteoption" />
			</span></td>
		</tr>
	  </table>
	
	</td>  
  </tr>
  <tr>
	<td valign="top" align="center" width="182"> 

	
		  
				  <table width="182" cellpadding="8" border="0" style="background-color: White; border: 1px solid #E4E4E4; border-right: 2px solid #E4E4E4; border-bottom: 2px solid #E4E4E4;">
					<tr valign="middle"> 
					  <td width="25">{INBOX_IMG}</td>
					  <td align="left"><strong>{INBOX}</strong> &nbsp;</td>
				    </tr>
				    <tr>
					  <td width="25">{SENTBOX_IMG}</td>
					  <td align="left"><strong>{SENTBOX}</strong> &nbsp;</td>
				    </tr>
				    <tr>
					  <td width="25">{OUTBOX_IMG}</td>
					  <td align="left"><strong>{OUTBOX}</strong> &nbsp;</td>
			        </tr>
				    <tr>
					  <td width="25">{SAVEBOX_IMG}</td>
					  <td align="left"><strong>{SAVEBOX}</strong> &nbsp;</td>
				    </tr>
				 </table>
	 

	 <br />
	 
	  <!-- BEGIN switch_box_size_notice -->
	  
				  <table width="182" cellspacing="1" cellpadding="2" border="0" style="background-color: White; border: 1px solid #E4E4E4; border-right: 2px solid #E4E4E4; border-bottom: 2px solid #E4E4E4;">
					<tr> 
					  <td colspan="3" width="175" class="row1" nowrap="nowrap"><span class="gensmall">{BOX_SIZE_STATUS}</span></td>
					</tr>
					<tr> 
					  <td colspan="3" width="175" class="row2">
					  
						<table cellspacing="0" cellpadding="1" border="0">
						  <tr> 
							<td bgcolor="#5A8C35"><img src="templates/JustFooty/images/boxstatus.gif" width="{INBOX_LIMIT_IMG_WIDTH}" height="8" alt="{INBOX_LIMIT_PERCENT}" /></td>
						  </tr>
						</table>
						
					  </td>
					</tr>
					<tr> 
					  <td width="33%" class="row1"><span class="gensmall">0%</span></td>
					  <td width="34%" align="center" class="row1"><span class="gensmall">50%</span></td>
					  <td width="33%" align="right" class="row1"><span class="gensmall">100%</span></td>
					</tr>
				  </table>
	  
  <!-- END switch_box_size_notice -->
	  	 
</td>
<td valign="top" width="85%">

		<table width="100%" border="0" cellspacing="0" cellpadding="0">
            <tr> 
              <td valign="top" class="box_content">
  
  				<table width="100%" border="0" cellspacing="0" cellpadding="0">
                  <tr> 
                    <td class="box_panel_left"><img src="templates/JustFooty/images/spacer.gif" alt="." width="1" height="1"></td>
                    <td class="box_panel_center"><span class="box_title">{L_PRIVATEMSGS} :: {BOX_NAME}</span></td>
                    <td width="36" class="box_panel_right"><img src="templates/JustFooty/images/spacer.gif" alt="Index" width="36" height="28" border="0" usemap="#go_to_top"></td>
                  </tr>
                </table> 
	
                <table width="100%" border="0" cellpadding="5" cellspacing="0" class="stdtable">
                  <tr>
					  <td width="5%" class="table_forum_col_desc" nowrap="nowrap">&nbsp;{L_FLAG}&nbsp;</td>
					  <td width="55%" class="table_forum_col_desc" nowrap="nowrap">&nbsp;{L_SUBJECT}&nbsp;</td>
					  <td width="20%" class="table_forum_col_desc" nowrap="nowrap">&nbsp;{L_FROM_OR_TO}&nbsp;</td>
					  <td width="15%" class="table_forum_col_desc" nowrap="nowrap">&nbsp;{L_DATE}&nbsp;</td>
					  <td width="5%" class="table_forum_col_desc" nowrap="nowrap">&nbsp;{L_MARK}&nbsp;</td>
				  </tr>
				<!-- BEGIN listrow -->
				<tr> 
				  <td class="stdcontent" width="5%" align="center" valign="middle"><img src="{listrow.PRIVMSG_FOLDER_IMG}" width="25" height="25" alt="{listrow.L_PRIVMSG_FOLDER_ALT}" title="{listrow.L_PRIVMSG_FOLDER_ALT}" /></td>
				  <td width="55%" valign="middle" class="stdcontent"><span class="topictitle">&nbsp;<a href="{listrow.U_READ}" class="topictitle">{listrow.SUBJECT}</a></span></td>
				  <td width="20%" valign="middle" align="center" class="stdcontent"><span class="name">&nbsp;<a href="{listrow.U_FROM_USER_PROFILE}" class="name">{listrow.FROM}</a></span></td>
				  <td width="15%" align="center" valign="middle" class="stdcontent"><span class="post_msg_subject">{listrow.DATE}</span></td>
				  <td width="5%" align="center" valign="middle" class="stdcontent"><span class="postdetails"> 
					<input type="checkbox" class="input_checkbox" name="mark[]2" value="{listrow.S_MARK_ID}" />
					</span></td>
				</tr>
				<!-- END listrow -->
				<!-- BEGIN switch_no_messages -->
				<tr> 
				  <td class="stdcontent" colspan="5" align="center" valign="middle"><span class="gen">{L_NO_MESSAGES}</span></td>
				</tr>
				<!-- END switch_no_messages -->
                      <tr> 
                        <td colspan="5" class="table_topic_post_hdiv"></td>
                      </tr> 			
				<tr> 
				  <td class="catBottom" colspan="5" height="28" align="right"> {S_HIDDEN_FIELDS} 
					<input type="submit" name="save" value="{L_SAVE_MARKED}" class="mainoption" />
					&nbsp; 
					<input type="submit" name="delete" value="{L_DELETE_MARKED}" class="liteoption" />
					&nbsp; 
					<input type="submit" name="deleteall" value="{L_DELETE_ALL}" class="liteoption" />
				  </td>
				</tr>
			  </table>
  
			   </td>
               <td class="box_shadow_right" valign="top"><div class="box_shadow_right_top"><img src="templates/JustFooty/images/spacer.gif" alt="." width="1" height="1"></div></td>
             </tr>
             <tr> 
               <td class="box_shadow_bottom" align="left"><div class="box_shadow_bottom_left"><img src="templates/JustFooty/images/spacer.gif" alt="." width="1" height="1"></div></td>
               <td class="box_shadow_bottom_right"><img src="templates/JustFooty/images/spacer.gif" alt="." width="1" height="1"></td>
             </tr>
           </table>	

	  <table width="100%" cellspacing="2" border="0" align="center" cellpadding="2">
		<tr> 
		  <td align="left" valign="middle"><span class="nav">{POST_PM_IMG}</span></td>
		  <td align="left" valign="middle" width="100%"><span class="nav">{PAGE_NUMBER}</span></td>
		  <td align="right" valign="top" nowrap="nowrap"><b><span class="gensmall"><a href="javascript:select_switch(true);" class="gensmall">{L_MARK_ALL}</a> :: <a href="javascript:select_switch(false);" class="gensmall">{L_UNMARK_ALL}</a></span></b><br /><span class="nav">{PAGINATION}<br /></span><span class="gensmall">{S_TIMEZONE}</span></td>
		</tr>
	  </table>
	</form>
	
	</td>
  </tr>
</table>

<br clear="all" />

<table width="100%" border="0">
  <tr> 
	<td align="right" valign="top">{JUMPBOX}</td>
  </tr>
</table>
